package cn.itsource.ymcc.service;

import cn.itsource.ymcc.domain.Course;
import cn.itsource.ymcc.dto.CourseSaveDto;
import cn.itsource.ymcc.result.JsonResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cff
 * @since 2024-06-11
 */
public interface ICourseService extends IService<Course> {

    void updateById(CourseSaveDto courseSaveDto);

    void save(CourseSaveDto courseSaveDto);

    JsonResult onLineCourse(List<Long> ids);
}
